Separate calling Neppy Framework's Stage statements as another function
and also some minor change