Allow -p and -a option for run-backend and run-frontend

I meant to reorganize this script later but right now this is fine...