diff --git a/README.md b/README.md
index fa61539..cacb4e0 100644
--- a/README.md
+++ b/README.md
@@ -35,51 +35,63 @@ Use import with caution – in case of bug can broke your current account / viki
### Build
-```
-dotnet build
-```
+* to build command line version, run `dotnet build` in `src` dir
+* to build GUI version, run `dotnet build` in `gui`
+* to build redistributable packages (gui and commandline version for 64 bit Linux and 32 bit Windows) use `build.sh` script
+
+### Running
+
+#### gui
-Use To build single file executable package use: `dotnet publish --runtime linux-x64` (for 64bit Linux) or `dotnet publish --runtime win-x86` (for 32bit Windows), etc.
+* run `gui/bin/dragonrescuegui`
+* select mode (export or import)
+* fill server data form
+* select output dir (export) or mode and input file (import)
+* click export or import button
+* read messages in text window
-### Running (command line)
+#### export
+
+```
+src/bin/dragonrescue-import --userApiUrl="User API URL" --contentApiUrl="Content API URL"\
+ --username="Username" --password="Password" --viking="Viking name"\
+ export --path "export_dir"
+```
#### import
```
-src/bin/dragonrescue-import --userApiUrl="USER_API_URL" --contentApiUrl="CONTENT_API_URL" \
- --username="username" --password="password" --viking="viking_name" \
+src/bin/dragonrescue-import --userApiUrl="User API URL" --contentApiUrl="Content API URL" \
+ --username="Username" --password="Password" --viking="Viking name" \
import --file "PATH_TO_GetAllActivePetsByuserId.xml"
```
**See `./dragonrescue-import import --help` for more options and details.**
-#### export
-```
-src/bin/dragonrescue-import --userApiUrl="USER_API_URL" --contentApiUrl="CONTENT_API_URL"\
- --username="username" --password="password" --viking="viking_name"\
- export --path "export_dir"
-```
+#### arguments description
-Where:
+In all modes (gui/command line and import/export) you need provide access data for SoD API server:
-* "USER_API_URL" is:
+* "User API URL" is:
* "http://localhost:5000" for local hosted [Sodoff](https://github.com/Spirtix/sodoff)
* "http://localhost:5321" for local hosted [Edge](https://github.com/SkySwimmer/Edge)
-* "CONTENT_API_URL" is:
+* "Content API URL" is:
* "http://localhost:5000" for local hosted Sodoff
* "http://localhost:5320" for local hosted Edge
-* "username" and "password" are login data for emu account
-* "viking_name" is emu in-game name
-* "PATH_TO_GetAllActivePetsByuserId.xml" is path to GetAllActivePetsByuserId.xml file from dragonrescue dump (e.g. `../../mydragons/eba07882-0ae8-4965-9c39-07f409a1c415-GetAllActivePetsByuserId.xml`).
- In the directory containing this file there should be dragon pictures exported by dragonrescue.
+* "Username" and "Password" are login data for emu account
+* "Viking name" is emu in-game name
-### Running (GUI)
+Also for import you need provide file path coresponding to selected mode, for import:
+
+* dragons → "PATH_TO_GetAllActivePetsByuserId.xml" is path to GetAllActivePetsByuserId.xml file from dragonrescue dump (e.g. `../../mydragons/eba07882-0ae8-4965-9c39-07f409a1c415-GetAllActivePetsByuserId.xml`).
+ The directory containing this file should also contain dragon pictures and some other xml files (like `*GetPetAchievementsByUserID.xml`) exported by dragonrescue.
+* avatar → "...-GetDetailedChildList.xml" or "...-VikingProfileData.xml.xml"
+* farm → "...-GetUserRoomList.xml"
+* hideout → "...-GetUserItemPositions_MyRoomINT.xml"
+* inventory → "...-GetCommonInventory.xml"
-```
-gui/bin/Debug/net6.0/dragonrescuegui
-```
-#### alternative GUI
+## Other tools
-alternative GUI is available on: https://github.com/B1ackDaemon/dragonrescue-helper
+* Alternative GUI is available on: https://github.com/B1ackDaemon/dragonrescue-helper
diff --git a/build.sh b/build.sh
index f7f7066..de916c0 100755
--- a/build.sh
+++ b/build.sh
@@ -2,6 +2,12 @@
set -e
+(
+ cd src
+ dotnet publish --runtime linux-x64 --self-contained true -p:PublishSingleFile=true
+ dotnet publish --runtime win-x86 --self-contained true -p:PublishSingleFile=true
+)
+
(
cd gui
dotnet publish --runtime linux-x64 --self-contained true -p:PublishSingleFile=true
diff --git a/gui/dragonrescuegui.csproj b/gui/dragonrescuegui.csproj
index 4a0b4a7..611293c 100644
--- a/gui/dragonrescuegui.csproj
+++ b/gui/dragonrescuegui.csproj
@@ -4,6 +4,12 @@
net6.0
enable
$([System.IO.File]::ReadAllText("../version.txt").Trim())
+
+ $(MSBuildThisFileDirectory)bin
+ false
+ true
+ true
+
true
app.manifest
true
@@ -36,6 +42,7 @@
+
diff --git a/version.txt b/version.txt
index e7e18b4..cb0c939 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-0.5.1
+0.5.2