logdir permissions fix
build command fix