making bash and rails c usage easy