fix syntax
add server
expanded application, handle path