make executable
check for run dir
run script for webapi
set environment variables