Fixed root path and added precompile assets for deploy