Allow specifying development mode, remove int conversion