[ -d "${FILE}/js/"]&& run "${NEWBASE}""${FILE}/js"
[ -d "${FILE}/views/"]&& run "${NEWBASE}""${FILE}/views"
elif[ -f "${FILE}"]
then
sed -ri "s@(href|src)=\"${CURRENT_BASE}@\1=\"${NEWBASE}@g;s@\\\$http.get\(\"${CURRENT_BASE}@\$http.get\(\"${NEWBASE}@g;s@\\\$http\((.*)\"${CURRENT_BASE}@\$http(\1\"${NEWBASE}@g"${FILE}