added cli parameters and separate working dirs for each app