added entry point for swift pipeline
minor fixes