Change app path and backup path from hard code to input parameters.